namespace java edu.hawaii.ics.pjdb.types
include 'tuple_types.thrift'

service TupleService {
    /**
     * TODO: fault tolerance?
     */
    void submitTuples(1: list<tuple_types.Tuple> tuples);
    
    /**
     * Called when there are no more tuples to submit.
     */
    void finished();
}